#pragma once
#include "window.h"

class Button
{
public:
	Button(Window& parent, int id);
	~Button(void);

	typedef void (__cdecl *EventHandler)();
	void on(const string& event, EventHandler handler);
	
protected:
	Window& _parent;
	void* _handle;
};

